<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" isELIgnored="false"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- The HTML 4.01 Transitional DOCTYPE declaration-->
<!-- above set at the top of the file will set     -->
<!-- the browser's rendering engine into           -->
<!-- "Quirks Mode". Replacing this declaration     -->
<!-- with a "Standards Mode" doctype is supported, -->
<!-- but may lead to some differences in layout.   -->


<%@page import="popoer.price.thief.service.ThiefFactory"%>
<%@page import="java.util.Set"%>
<%@page import="java.util.Map.Entry"%>
<%@page import="java.util.Map"%>
<%@page import="java.util.Map.Entry"%><html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <title>价格小偷!</title>
  </head>

  <body>
    <h1>价格小偷!</h1>
	
    <ul>
    <%
    Set<Map.Entry<String,String>> thieves = ThiefFactory.thiefMap.entrySet();
    for(Map.Entry<String,String> thief:thieves){
    %>
    	<li><a href="categories?type=<%=thief.getKey()%>"><%=thief.getValue() %></a></li>
    <%	
    }
    %>
    	
    </ul>
  </body>
</html>
